package com.thenmorethings.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.thenmorethings.dao.AdminDao;
import com.thenmorethings.entity.Admin;
import com.thenmorethings.entity.Essay;
import com.thenmorethings.service.AdminService;

@Service("adminService")
public class AdminServiceImpl implements AdminService{

	@Resource
	AdminDao adminDao;
	
	@Override
	public Admin login(Admin admin) {
		return adminDao.findByAdmin(admin);
		
	}

}
